import pandas as pd
import numpy as np
s1 = pd.Series([1,2,3],['a','b','c'])
print(s1)
print(s1.values,type(s1.values))
s1['d']=99
print(s1)
s2 = pd.Series({'a':1,'b':2,'c':3,'d':4})
print('s2:\n',s2)
s3 = pd.Series([1,3,5,-8])
print('s3:\n',s3)
np.random.seed(54321)
s4 = pd.Series(np.random.randn(5))
print('s4\n',s4)
s5 = pd.Series(range(2,6))
print(s5)